//
// Created by 朱宗辉 on 2023/12/10.
//

#ifndef OS_FCFS_H
#define OS_FCFS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/unistd.h>
#include <pthread.h>
#include <unistd.h>

#include "./types.h"
int fifc_run(char *process);
PCB *createThread();

void insert_sort_PCB(PCB *head, PCB *node);

void run_fcfs(PCB *head);

void *time_add(void *time);

#endif //OS_FCFS_H
